#ifndef OPENFILE_H
#define OPENFILE_H

#include <QWidget>

namespace Ui {
class OpenFile;
}

class OpenFile : public QWidget
{
    Q_OBJECT

public:
    explicit OpenFile(QWidget *parent = nullptr);
    ~OpenFile();

signals:
    void openDBFile(const QString &filename,const QString &password);

public slots:
    void onSelect();

    void onOpen();

    void onCancel();


private:
    Ui::OpenFile *ui;
};

#endif // OPENFILE_H
